<template>
  <div class="app">
    <input :value="username" type="text" name="username" @input="$emit('handleChange', $event.target.value)">
    <input type="text" name="myName" v-model="myName">
  </div>
</template>

<script>
export default {
  props: {
    username: {
      type: Number,
    }
  },
  computed: {
    myName() {
      return this.username
    }
  }

}
</script>

<style>

</style>